package com.weishu.house.service.impl;

import com.weishu.house.entity.HouseInfo;
import com.weishu.house.mapper.HouseInfoMapper;
import com.weishu.house.service.IHouseInfoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author gao
 * @since 2021-05-25
 */
@Service
public class HouseInfoServiceImpl extends ServiceImpl<HouseInfoMapper, HouseInfo> implements IHouseInfoService {

    @Autowired
    private HouseInfoMapper houseInfoMapper;

    @Override
    public boolean add(HouseInfo houseInfo) {
        return houseInfoMapper.add(houseInfo);
    }
}
